package top.zuli.package02.homework06;

public class Demo {
    int mol(int a){
        return a*a;
    }
    int mol(int b,int c){
        return b*c;
    }
    String mol(String d){
        return d;
    }

    public static void main(String[] args) {
        Demo demo = new Demo();
        int result = demo.mol(7);
        System.out.println("平方运算结果是："+result);
        int result1 = demo.mol(3, 4);
        System.out.println("相乘结果是："+result1);
        String result2 = demo.mol("好好学习，天天向上!!!");
        System.out.println(result2);
    }
}
